package com.thread.queuelog;

public class Node<T> {
	Node<T> next;
	T value;
	public Node(T value) {
		this.value = value;
	}

	public Node(Node<T> prev, T value) {
		super();
		prev.next = this;
		this.value = value;
	}
	
	public T getValue() {
		return value;
	}
}
